revXMLRPC_SetHost
Type
command
Summary
Sets the host and optionally the port of an XML-RPC document structure.
Syntax
revXMLRPC_SetHost <XMLRPCdocumentID>, <RPChost> [, <RPCport>]
Description
Use the revXMLRPC_SetHost command to set the host and optionally the port that is the target of the execution of an XML-RPC request.
Parameters
Name | Type | Description |
---|---|---|
XMLRPCdocumentID | integer | The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request. |
RPChost | string | The IP address or domain name of the host you want to connect to. |
RPCport | string | The port number you want to connect to. If you don't specify a port, port 80 is used. (On most systems, port 80 is used for HTTP connections.) |
Examples
revXMLRPC_SetHost theRequest,"www.livecode.com"
revXMLRPC_SetHost myRequest,"example.com",10000
Related
command: revXMLRPC_SetPort
function: result, revXMLRPC_GetHost, revXMLRPC_CreateRequest
glossary: LiveCode custom library, Standalone Application Settings, standalone application, command, XML-RPC, XML-RPC document
library: XML-RPC library
Compatibility and Support
Introduced
LiveCode 2.5
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile